package com.mh.study.jackson.annotations;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

/**
 * @author meng.han
 * @since 2021-11-26
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"name", "id"})
public class MyBean4 {
    public int id;
    public String name;

    public MyBean4() {
    }

    public MyBean4(int id, String name) {
        this.id = id;
        this.name = name;
    }

}
